two phase method for Solving LPP